import request from '@/utils/request'

// 查询家属路线选择列表
export function listSelectDependant(query) {
  return request({
    url: '/lxy/selectDependant/list',
    method: 'get',
    params: query
  })
}

// 查询家属路线选择详细
export function getSelectDependant(id) {
  return request({
    url: '/lxy/selectDependant/' + id,
    method: 'get'
  })
}

// 新增家属路线选择
export function addSelectDependant(data) {
  return request({
    url: '/lxy/selectDependant',
    method: 'post',
    data: data
  })
}

// 修改家属路线选择
export function updateSelectDependant(data) {
  return request({
    url: '/lxy/selectDependant',
    method: 'put',
    data: data
  })
}

// 删除家属路线选择
export function delSelectDependant(id) {
  return request({
    url: '/lxy/selectDependant/' + id,
    method: 'delete'
  })
}
